package com.example.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value = "体检类型")
@Data
public class CheckupType {
  @ApiModelProperty(value = "类型id")
  private Long ctId;
  @ApiModelProperty(value = "类型名称")
  private String name;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ApiModelProperty(value = "创建时间")
  private Date createTime;

  @ApiModelProperty(value = "启用标志")
  private Integer disable;
  @ApiModelProperty(value = "展示标志")
  private Integer showAble;
  @ApiModelProperty(value = "备注")
  private String remark;
}
